﻿@model IEnumerable<MvcMusicStore.Models.Genre>

@{
    ViewBag.Title = "Store";
}

<h2>Browse Genres</h2>
<p>select from @Model.Count() genres</p>
<ul>
    @foreach (MvcMusicStore.Models.Genre genre in Model) { 
        <li>@Html.ActionLink(genre.Name, "Browse", new { genre= genre.Name})</li>
    }
</ul>
